<div class="bhz-category" ng-class="{'hide':closeCategoryList}">
	<div class="bhz-category-title-wrap w clearfix">
		<div class="bhz-category-title">
			<span class="text">所有商品分类</span>
			<i class="icon icon-arrow-down-white" ng-if="closeCategoryList"></i>
		</div>
		<a href="javascript:void(0);" ng-click="jump('/home');" class="home-link" ng-if="closeCategoryList">首页</a>
	</div>
	<ul class="bhz-category-list">
		<li class="bhz-category-item" ng-repeat="(key,category) in categories" ng-if="key<9">
			<div class="bhz-category-item-menu">
				<span class="text" ng-click="gotoProducts(category.category_id)">{{category.name}}</span>
				<i class="icon icon-arrow-right-white"></i>
				<div class="place-right-border"></div>
			</div>
			<ul class="menu-list clearfix">
				
				<!--二级-->
				<li ng-if="category.all_level == 2" ng-repeat="categoryItem in category.categories">
					<a href="javascript:void(0);" ng-click="gotoProducts(categoryItem.category_id)" ng-class="{'select':currCategoryId == categoryItem.category_id}">{{categoryItem.name}}</a>
				</li>
				<!--二级-->

				<!--三级-->
				<li class="third-li" ng-if="category.all_level == 3" ng-repeat="second in category.categories">
					<div>
						<span class="circle-fill"></span><strong>{{second.name}}</strong>
					</div>
					<ul>
						<li ng-repeat="third in second.categories">
							<a href="javascript:void(0);" ng-click="gotoProducts(third.category_id)" ng-class="{'select':currCategoryId == third.category_id}">{{third.name}}</a>
						</li>
					</ul>
				</li>
				<!--三级-->

			</ul>
		</li>
	</ul>
</div>